package com.xyz.practice.classloader.test;

public class Sample {
    private Sample instance;

    public void setSample( Object instance ) {
        this.instance = ( Sample ) instance;
        System.out.println( "-------------- setSample method --------------" );
    }

    public Sample getInstance() {
        return instance;
    }

    public void setInstance( Sample instance ) {
        this.instance = instance;
    }
}
